package com.csvw.skr.newTask.entity.visit;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2016/12/9.
 */
@Entity
@Table(name = "csvw_skr_task_visit_mission_check")
public class MissionCheckList {

    /**
     * 店访任务检查项完成情况的ID， visitId-missionId-checkId
     */
    @Id
    @Column(name = "pk_id", length = 100)
    private String id;

    /**
     * 店访任务的ID
     */
    @Column(length = 30)
    private String missionId;

    /**
     * 检查项的ID
     */
    @Column(length = 20)
    private String checkId;

    /**
     * 店访计划的ID
     */
    @Column(length = 50)
    private String visitId;

    /**
     * 检查项是否通过
     */
    private boolean pass;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMissionId() {
        return missionId;
    }

    public void setMissionId(String missionId) {
        this.missionId = missionId;
    }

    public String getCheckId() {
        return checkId;
    }

    public void setCheckId(String checkId) {
        this.checkId = checkId;
    }

    public String getVisitId() {
        return visitId;
    }

    public void setVisitId(String visitId) {
        this.visitId = visitId;
    }

    public boolean isPass() {
        return pass;
    }

    public void setPass(boolean pass) {
        this.pass = pass;
    }
}
